package com.woniuxy.java106crm.entity;

import com.fasterxml.jackson.annotation.JsonFormat;
import lombok.AllArgsConstructor;
import lombok.Data;
import lombok.NoArgsConstructor;

import java.time.LocalDateTime;

/**
 * 操作日志实体类
 */
@Data
@NoArgsConstructor
@AllArgsConstructor
public class LogManage {

    private Integer id;
    private String username;
    private String controller;
    @JsonFormat(pattern = "yy-MM-dd")
    private LocalDateTime date;
    private String method;
    private String ip;

}
